package com.github.taomus.gitoys.config.entity

import org.eclipse.xtend.lib.annotations.Accessors
import org.eclipse.xtend.lib.annotations.ToString

@Accessors
@ToString
class FtpConfig{
	String path
	String username
	String password
	String host
	Integer port
}

@Accessors
@ToString
class GitConfig{
	String remoteRepository
	String localRepostory = "./repostory"
	String branch
	String username
	String password
	String sshkeypath
	String ip
	Integer port
	boolean isCheck
	boolean isSshKey
}

@Accessors
@ToString
class Config {
	FtpConfig ftp
	GitConfig git
}